//
//  SearchBarView.h
//
//
//  Created by gynjobs on 2017/8/14.
//  Copyright © 2017年 gynjobs. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CityInfo.h"

#define SERCH_BAR_HEIGHT 30

@class SearchBarView;
@protocol SearchBarDelegate <NSObject>

-(void)citySearchBar:(id)data;

@end

@interface SearchBarView : UIView
@property (nonatomic,strong) UISearchBar *aSearchBar;
@property (nonatomic,strong) UITableView *aTableView;
@property (nonatomic,weak) id dataSource;
@property (nonatomic,strong) NSMutableArray * tableArray;
@property (nonatomic,strong) UIView * contentTableView;
@property (nonatomic,weak) id<SearchBarDelegate> searchDelegate;


-(void)start;
@end
